package com.hxd.otc.module.my.bean;

import java.io.Serializable;

/**
 * Created by lzy on 2018/12/18 0018.
 * description ${vip服务和合作商户请求Bean}
 */
public class ApplyRequestBean implements Serializable {
    private String contactName;
    private String contactPhone;
    private String otherContact;
    private String recomAccount;
    private String request;
    private String coin;
    private String legalCoin;
    private String payWay;
    private int type;//1是合作商申请,2是vip申请

    public static final int TYPE_COOPERATIVE_MERCHANT_ACCESS = 1;//合作商申请
    public static final int TYPE_VIP_SERVICE = 2;//合作商申请

    public String getContactName() {
        return contactName;
    }

    public void setContactName(String contactName) {
        this.contactName = contactName;
    }

    public String getContactPhone() {
        return contactPhone;
    }

    public void setContactPhone(String contactPhone) {
        this.contactPhone = contactPhone;
    }

    public String getOtherContact() {
        return otherContact;
    }

    public void setOtherContact(String otherContact) {
        this.otherContact = otherContact;
    }

    public String getRecomAccount() {
        return recomAccount;
    }

    public void setRecomAccount(String recomAccount) {
        this.recomAccount = recomAccount;
    }

    public String getRequest() {
        return request;
    }

    public void setRequest(String request) {
        this.request = request;
    }

    public String getCoin() {
        return coin;
    }

    public void setCoin(String coin) {
        this.coin = coin;
    }

    public String getLegalCoin() {
        return legalCoin;
    }

    public void setLegalCoin(String legalCoin) {
        this.legalCoin = legalCoin;
    }

    public String getPayWay() {
        return payWay;
    }

    public void setPayWay(String payWay) {
        this.payWay = payWay;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public static ApplyRequestBean createCooperativeMerchantAccessApply(String name, String phone, String otherContact, String recomAccount) {
        ApplyRequestBean applyRequestBean = new ApplyRequestBean();
        applyRequestBean.setContactName(name);
        applyRequestBean.setContactPhone(phone);
        applyRequestBean.setOtherContact(otherContact);
        applyRequestBean.setRecomAccount(recomAccount);
        applyRequestBean.setType(TYPE_COOPERATIVE_MERCHANT_ACCESS);
        return applyRequestBean;
    }

    @Override
    public String toString() {
        return "ApplyRequestBean{" +
                "contactName='" + contactName + '\'' +
                ", contactPhone='" + contactPhone + '\'' +
                ", otherContact='" + otherContact + '\'' +
                ", recomAccount='" + recomAccount + '\'' +
                ", request='" + request + '\'' +
                ", coin='" + coin + '\'' +
                ", legalCoin='" + legalCoin + '\'' +
                ", payWay='" + payWay + '\'' +
                ", type='" + type + '\'' +
                '}';
    }
}
